﻿using Abp.Application.Services;
using AVIS.OutBound.UserAuth.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVIS.OutBound.UserAuth
{
    /// <summary>
    /// 用户帐号密码校验
    /// </summary>
    public interface IUserAuthAppService : IApplicationService
    {
        /// <summary>
        /// 帐号密码校验
        /// </summary>
        /// <param name="input">请求参数</param>
        /// <returns></returns>
        bool AuthByPassword(UserAuthByPasswordInput input);

        /// <summary>
        /// 手机登录校验
        /// </summary>
        /// <param name="input">请求参数</param>
        /// <returns></returns>
        bool AuthByPhone(UserAuthByPhoneInput input);
    }
}
